package com.xy.smartsms.helper;

import android.app.Activity;

import com.xy.smartsms.vista.ComposeViewHolder;

import java.util.HashMap;
import java.util.Map;

/**
 * Created by admin on 2017/8/28 0028.
 */

public class SmartSmsMenuHelper {
    private ComposeViewHolder mComposeViewHolder = null;

    public SmartSmsMenuHelper(Activity context, String phoneNumber, SmartSmsMenuOptions options) {
        mComposeViewHolder = new ComposeViewHolder(context, phoneNumber);
        Map<String, String> map = new HashMap<>();
        map.put(ComposeViewHolder.ID_STUB, String.valueOf(options.getStubId()));
        //map.put(ComposeViewHolder.ID_CHANGE, String.valueOf(options.getChangeId()));
        map.put(ComposeViewHolder.ID_EDIT, String.valueOf(options.getEditId()));
        mComposeViewHolder.setMap(map);
    }
}
